package com.example.callcenter.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

//数据传输对象（DTO）完整实现
@Data
public class CallRecordDTO {
    @NotNull(message = "任务ID不能为空")
    private Long taskId;

    @NotNull(message = "客户ID不能为空")
    private Long customerId;

    private Integer duration;  // 通话时长(秒)

    @NotBlank(message = "通话结果不能为空")
    private String result;     // SUCCESS/FAIL/BUSY/NO_ANSWER

    private String remark;     // 备注信息
}